package hxy.dragon.spring.webflux.reactor;

/**
 * @author eric
 * @program spring-webflux
 * @description
 * @date 2020/3/16
 */
public class Flux {


    /**
     * return total result view
     * @param serverRequest the request
     * @return flux of total result model view
     */
//    public Flux<ResultViewModel> flowAllResult(ServerRequest serverRequest) {
//        List<ResultViewModel> result = new ArrayList<>();
//        for (ResultModel model : resultModelList) {
//            result.add(new ResultViewModel(200, "ok", model));
//        }
//
//        return Flux.fromIterable(result);
//    }
}
